home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 3.3 KB | 95 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // Menu Commands
- #define cClockType FW_kFirstUserCommandID
- #define cClockSoundsTick cClockType + 1
- #define cClockSoundsChime cClockSoundsTick + 1
- #define cClockSettings cClockSoundsChime + 1
- #define cClockUseContainerColor cClockSettings + 1
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Document Window
- #define kDocumentWindowID 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kClockFaceStrings 1002
- #define kClockDigitalWidthString 1
- #define kClockOpenDocString 2
-
- #define kClockStrings 1003
- #define kOffsetErrorString 1
- #define kClockSettingsTitleString 2
-
- //-------------------------------------------------------------------------------------
- // Sounds
- #define kClockChime 1000
- #define kClockTick 1001
-
- //-------------------------------------------------------------------------------------
- // Presentation
- #define kAnalogPresentation "Apple:Presentation:ODFClock:Analog"
- #define kDigitalPresentation "Apple:Presentation:ODFClock:Digital"
- #define kClockSettingsPresentation "Apple:Presentation:ODFClock:Dialog:Settings"
-
- //-------------------------------------------------------------------------------------
- // Views
- #define kAnalogClockView 1200
- #define kAnalogClockViewRoot 1201
- #define kDigitalClockView 1210
- #define kDigitalClockViewRoot 1211
-
- #define kClockViewID 1
- #define kGrowBoxID 2
-
- //-------------------------------------------------------------------------------------
- // Dialogs
- #define kClockSettingsDialog 1220
- #define kTimeOffsetViewID 1
- #define kFaceStringViewID 3
- #define kClockOKButtonID 5
- #define kCancelButtonID 7
-
- #endif
-
-